﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:List ID="Result" Object="Lesson" Page="1" PageSize="1" Condition="CourseID=Request.QueryString['CourseID']" Sort="Sort DESC"/>
<%If Result[Count] > 0%>
	{"sort":<%=Convert.ToInt32(Result[Sort]) + 1%>}
<%Else%>
	{"sort":1}
<%EndIf%>